package com.tanhua.manage;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import org.springframework.context.annotation.ComponentScan;

@MapperScan("com.tanhua.manage.mapper")//设置mapper接口的扫描包
@SpringBootApplication
@ComponentScan(basePackages = "com.tanhua") //修改默认的扫描包范围
public class MyTanhuaManageApplication {

    public static void main(String[] args) {
        SpringApplication.run(MyTanhuaManageApplication.class, args);

    }

}
